package com.qfjy.homework.liziheng;

public class BuyComputerDemo {

    public static void main(String[] args) {

        ComputerFactory computerFactory = new ComputerFactory();

        Computer computer1 = computerFactory.buyComputer("LENOVO");

        computer1.getComputer();

        Computer computer2 = computerFactory.buyComputer("DELL");

        computer2.getComputer();

        Computer computer3 = computerFactory.buyComputer("HASEE");

        computer3.getComputer();

    }

}
